package cn.iocoder.yudao.module.biz.controller.admin.risk.equipmentInfo.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import lombok.*;
import java.util.*;
import io.swagger.annotations.*;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import lombok.experimental.Accessors;


/**
 * 设备 Excel VO
 *
 * @author 芋道源码
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = false) // 设置 chain = false，避免导入有问题
public class BizEquipmentInfoExcelVO {

    @ExcelProperty("设备名称")
    private String equipmentName;
    @ExcelProperty("设备型号")
    private String equipmentModel;
    @ExcelProperty(value = "设备类型", converter = DictConvert.class)
    @DictFormat("equipment_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer equipmentType;
//    @ExcelProperty("所属单位")
//    private String deptId;
    @ExcelProperty(value = "是否特种设备", converter = DictConvert.class)
    @DictFormat("infra_boolean_string") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private String isSpecial;
    @ExcelProperty("所在位置")
    private String location;
    @ExcelProperty("设备数量")
    private Integer equipmentCount;
    @ExcelProperty("所属单位")
    private String deptName;
    @ExcelProperty("备注")
    private String remarks;
}
